package edu.se.jai.websocketgateway;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * WebSocket网关服务启动类（Dubbo版）
 * 
 * 负责处理WebSocket连接和消息转发，通过Dubbo3调用game-service
 * 
 * 注：只使用 Dubbo 服务发现，不使用 Spring Cloud Nacos Discovery
 */
@SpringBootApplication
@EnableDubbo
public class WebSocketGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(WebSocketGatewayApplication.class, args);
    }
}

